Skip to content

Add pr-workflow, coding, and general skills#42

Open
MajorLift wants to merge 6 commits into
MetaMask:mainfrom
MajorLift:add/pr-workflow-coding
Open

Add pr-workflow, coding, and general skills#42
MajorLift wants to merge 6 commits into
MetaMask:mainfrom
MajorLift:add/pr-workflow-coding

Conversation

@MajorLift

@MajorLift MajorLift commented Jun 5, 2026

Copy link
Copy Markdown

Adds skills across three domains — the discipline of shipping a PR, TypeScript-specific coding practice, and general working habits.

Why for the extension: commit and review hygiene for a large, high-churn extension codebase; TypeScript patterns (ts2589-workaround) for its deep generic types; and simulator-control to verify extension UI changes end-to-end. Cross-repo by nature, but each earns its place in day-to-day extension work.

pr-workflow — the review-and-merge lifecycle

  • commit-discipline — logical-group, GPG-signed commits without conventional-commit noise.
  • diff-audit — read your own diff before requesting review.
  • pr-review-discipline — verify the mechanism before judging, triage before drafting, don't overcorrect, challenge workarounds.
  • Knowledge: inline-comment-policy, epic-hierarchy, ticket-management.
  • (pr-description intentionally omitted — the existing pr-workflow/pr-description already covers it.)

coding — TypeScript practice

  • ts2589-workaround — resolve "type instantiation is excessively deep" via strict-flag patterns, type-level assertions, intermediate-defaulted type params, and cascade refactoring.
  • simulator-control — drive iOS/Android simulators to verify UI changes (open the app, navigate, screenshot).
  • Knowledge: derive-dont-define-types (derive from authoritative types; ad-hoc types duplicate, run too wide, and drift), avoid-any (any disables type checking — substitute by position: assignee → unknown, assigned → never), plus type-level-assertions, typescript-strict-flag-pattern, typescript-intermediate-defaults, cascade-refactoring, spike-integration-boundaries.

general — working habits

  • scope-lock — hold the agreed scope; don't let a task sprawl.
  • specifications-as-guardrails — treat the spec as the boundary, not a suggestion.
  • deploy-internal-vercel-app — deploy an internal Next.js app to the Consensys Vercel Enterprise account (Okta SSO).
  • Knowledge: diagnose-blockers.

CHANGELOG updated; commits GPG-signed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant